package com.huc.netty.core;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.atomic.AtomicLong;

/**
 * @author huc
 * @version 1.0
 * @note 生成请求
 * @date 2021/9/16 10:34
 */
public class RequestHolder {
    /**
     * 请求ID
     */
    public static final AtomicLong REQUEST_ID = new AtomicLong();
    /**
     * 请求结果
     */
    public static final Map<Long, RpcFuture> REQUEST_MAP = new ConcurrentHashMap<>();
}
